Finding the unloaded geometry

Finding the unloaded geometry#

from fenics_plotly import plot
import pulse
geometry = pulse.HeartGeometry.from_file(pulse.mesh_paths["simple_ellipsoid"])
# geometry = pulse.geometries.prolate_ellipsoid_geometry(mesh_size_factor=3.0)
material = pulse.NeoHookean()
# material = pulse.Guccione()
2024-02-10 09:54:35,680 [621] INFO     pulse.geometry_utils: 
Load mesh from h5
# Parameter for the cardiac boundary conditions
bcs_parameters = pulse.MechanicsProblem.default_bcs_parameters()
bcs_parameters["base_spring"] = 1.0
bcs_parameters["base_bc"] = "fix_x"
# Create the problem
problem = pulse.MechanicsProblem(geometry, material, bcs_parameters=bcs_parameters)
# Suppose geometry is loaded with a pressure of 1 kPa
# and create the unloader
unloader = pulse.FixedPointUnloader(problem=problem, pressure=3.0)
2024-02-10 09:54:35,809 [621] INFO     pulse.unloader: 

-------------------------- Unloading options ---------------------------

	Target pressure: 3.0
	maxiter = 10
	tolerance = 0.0001
	regenerate_fibers (serial only)= False

------------------------------------------------------------------------
# Unload the geometry
unloader.unload()
2024-02-10 09:54:35,814 [621] INFO     pulse.unloader: ------------------------------------------------------------------------
2024-02-10 09:54:35,815 [621] INFO     pulse.unloader: ----------------------------Start unloading-----------------------------
2024-02-10 09:54:35,815 [621] INFO     pulse.unloader: ------------------------------------------------------------------------
2024-02-10 09:54:35,847 [621] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-02-10 09:54:35,847 [621] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-02-10 09:54:35,848 [621] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-02-10 09:54:35,848 [621] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-02-10 09:54:36,018 [621] DEBUG    UFL_LEGACY: Blocks of each mode: 
  1	full
2024-02-10 09:54:36,826 [621] INFO     pulse.unloader: 
LV Volume of original geometry = 0.749 ml
2024-02-10 09:54:36,843 [621] INFO     pulse.unloader: 
Do an intial solve
2024-02-10 09:54:36,930 [621] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-02-10 09:54:36,931 [621] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-02-10 09:54:36,931 [621] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-02-10 09:54:36,932 [621] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-02-10 09:54:36,932 [621] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-02-10 09:54:37,431 [621] DEBUG    UFL_LEGACY: Blocks of each mode: 
  99	full
2024-02-10 09:54:37,506 [621] DEBUG    UFL_LEGACY: Blocks of each mode: 
2024-02-10 09:54:37,713 [621] DEBUG    UFL_LEGACY: Blocks of each mode: 
  18	full
2024-02-10 09:55:16,314 [621] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-02-10 09:55:16,314 [621] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-02-10 09:55:16,315 [621] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-02-10 09:55:16,315 [621] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-02-10 09:55:16,316 [621] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-02-10 09:55:16,505 [621] DEBUG    UFL_LEGACY: Blocks of each mode: 
  10	full
2024-02-10 09:55:16,580 [621] DEBUG    UFL_LEGACY: Blocks of each mode: 
  3	full
2024-02-10 09:55:16,771 [621] DEBUG    UFL_LEGACY: Blocks of each mode: 
  3	full
2024-02-10 09:55:20,226 [621] INFO     pulse.unloader: 
Iteration: 0
2024-02-10 09:55:23,828 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/quadrature/quadraturerepresentation.py:58: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
  Ignoring precision in integral metadata compiled using quadrature representation. Not implemented.
2024-02-10 09:55:23,869 [621] WARNING  FFC:   Ignoring precision in integral metadata compiled using quadrature representation. Not implemented.
2024-02-10 09:55:28,118 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-02-10 09:55:28,122 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/quadrature/quadraturerepresentation.py:58: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
  Ignoring precision in integral metadata compiled using quadrature representation. Not implemented.
2024-02-10 09:55:28,166 [621] WARNING  FFC:   Ignoring precision in integral metadata compiled using quadrature representation. Not implemented.
2024-02-10 09:55:28,563 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-02-10 09:55:28,606 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-02-10 09:55:28,607 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-02-10 09:55:28,648 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-02-10 09:55:28,649 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-02-10 09:55:28,686 [621] INFO     pulse.unloading_utils: 
LV Volume of original geometry = 0.568 ml
2024-02-10 09:55:28,839 [621] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-02-10 09:55:28,839 [621] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-02-10 09:55:28,840 [621] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-02-10 09:55:28,841 [621] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-02-10 09:55:28,841 [621] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-02-10 09:55:29,186 [621] DEBUG    UFL_LEGACY: Blocks of each mode: 
  99	full
2024-02-10 09:55:29,261 [621] DEBUG    UFL_LEGACY: Blocks of each mode: 
2024-02-10 09:55:29,469 [621] DEBUG    UFL_LEGACY: Blocks of each mode: 
  18	full
2024-02-10 09:56:08,200 [621] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-02-10 09:56:08,201 [621] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-02-10 09:56:08,202 [621] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-02-10 09:56:08,202 [621] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-02-10 09:56:08,203 [621] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-02-10 09:56:08,339 [621] DEBUG    UFL_LEGACY: Blocks of each mode: 
  10	full
2024-02-10 09:56:08,415 [621] DEBUG    UFL_LEGACY: Blocks of each mode: 
  3	full
2024-02-10 09:56:08,606 [621] DEBUG    UFL_LEGACY: Blocks of each mode: 
  3	full
2024-02-10 09:56:12,109 [621] INFO     pulse.unloading_utils: 
LV Volume of inflated geometry = 0.568 ml
2024-02-10 09:56:12,282 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-02-10 09:56:12,284 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-02-10 09:56:12,326 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-02-10 09:56:12,327 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-02-10 09:56:12,370 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-02-10 09:56:12,371 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-02-10 09:56:12,409 [621] INFO     pulse.unloading_utils: 
LV Volume of new reference geometry = 0.717 ml
2024-02-10 09:56:12,421 [621] INFO     pulse.unloader: 
Residual:	0.011328623428538017
2024-02-10 09:56:12,421 [621] INFO     pulse.unloader: 
Iteration: 1
2024-02-10 09:56:12,595 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-02-10 09:56:12,596 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-02-10 09:56:12,638 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-02-10 09:56:12,639 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-02-10 09:56:12,681 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-02-10 09:56:12,682 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-02-10 09:56:12,722 [621] INFO     pulse.unloading_utils: 
LV Volume of original geometry = 0.596 ml
2024-02-10 09:56:15,734 [621] INFO     pulse.unloading_utils: 
LV Volume of inflated geometry = 0.596 ml
2024-02-10 09:56:15,907 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-02-10 09:56:15,908 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-02-10 09:56:15,951 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-02-10 09:56:15,952 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-02-10 09:56:15,993 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-02-10 09:56:15,994 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-02-10 09:56:16,031 [621] INFO     pulse.unloading_utils: 
LV Volume of new reference geometry = 0.754 ml
2024-02-10 09:56:16,042 [621] INFO     pulse.unloader: 
Residual:	0.001698010214540199
2024-02-10 09:56:16,043 [621] INFO     pulse.unloader: 
Iteration: 2
2024-02-10 09:56:16,216 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-02-10 09:56:16,217 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-02-10 09:56:16,258 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-02-10 09:56:16,259 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-02-10 09:56:16,300 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-02-10 09:56:16,301 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-02-10 09:56:16,338 [621] INFO     pulse.unloading_utils: 
LV Volume of original geometry = 0.592 ml
2024-02-10 09:56:19,329 [621] INFO     pulse.unloading_utils: 
LV Volume of inflated geometry = 0.592 ml
2024-02-10 09:56:19,501 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-02-10 09:56:19,502 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-02-10 09:56:19,544 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-02-10 09:56:19,545 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-02-10 09:56:19,586 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-02-10 09:56:19,587 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-02-10 09:56:19,624 [621] INFO     pulse.unloading_utils: 
LV Volume of new reference geometry = 0.749 ml
2024-02-10 09:56:19,635 [621] INFO     pulse.unloader: 
Residual:	0.0002592876931300245
2024-02-10 09:56:19,636 [621] INFO     pulse.unloader: 
Iteration: 3
2024-02-10 09:56:19,808 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-02-10 09:56:19,810 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-02-10 09:56:19,851 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-02-10 09:56:19,852 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-02-10 09:56:19,892 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-02-10 09:56:19,893 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-02-10 09:56:19,931 [621] INFO     pulse.unloading_utils: 
LV Volume of original geometry = 0.593 ml
2024-02-10 09:56:22,921 [621] INFO     pulse.unloading_utils: 
LV Volume of inflated geometry = 0.593 ml
2024-02-10 09:56:23,094 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-02-10 09:56:23,095 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-02-10 09:56:23,137 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-02-10 09:56:23,138 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-02-10 09:56:23,180 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-02-10 09:56:23,181 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-02-10 09:56:23,218 [621] INFO     pulse.unloading_utils: 
LV Volume of new reference geometry = 0.750 ml
2024-02-10 09:56:23,230 [621] INFO     pulse.unloader: 
Residual:	3.931304295917144e-05
2024-02-10 09:56:23,230 [621] INFO     pulse.unloader: ########################################################################
Unloading suceeding
# Get the unloaded geometry
unloaded_geometry = unloader.unloaded_geometry
2024-02-10 09:56:23,408 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-02-10 09:56:23,410 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-02-10 09:56:23,452 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-02-10 09:56:23,453 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-02-10 09:56:23,495 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-02-10 09:56:23,496 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
fig = plot(geometry.mesh, opacity=0.0, show=False)
fig.add_plot(plot(unloaded_geometry.mesh, color="red", show=False))
fig.show()